package com.fegin.bean.app;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 手机用户信息表
 * </p>
 *
 * @author 张子艺
 * @since 2019-02-19
 */
@TableName("stock_user_info")
public class StockUserInfo extends Model<StockUserInfo> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * 手机用户id
     */
	@TableField("stock_user_id")
	private Long stockUserId;
    /**
     * 银行卡号
     */
	@TableField("bank_card_no")
	private String bankCardNo;
    /**
     * 银联号
     */
	@TableField("bank_card_union_no")
	private String bankCardUnionNo;
    /**
     * 银行卡类型
     */
	@TableField("bank_card_type")
	private String bankCardType;
    /**
     * 银行卡类型编码
     */
	@TableField("bank_card_type_code")
	private String bankCardTypeCode;
    /**
     * 开户行
     */
	@TableField("bank_card_open_bank")
	private String bankCardOpenBank;
    /**
     * 银行卡图片
     */
	@TableField("bank_card_img")
	private String bankCardImg;
    /**
     * 银行卡过期时间
     */
	@TableField("bank_card_expired_time")
	private Date bankCardExpiredTime;
    /**
     * 省
     */
	private String province;
    /**
     * 市
     */
	private String city;
    /**
     * 县
     */
	private String county;
    /**
     * 详细地点
     */
	private String address;
    /**
     * 身份证号
     */
	@TableField("id_card_no")
	private String idCardNo;
    /**
     * 身份证正面照
     */
	@TableField("id_card_front_img")
	private String idCardFrontImg;
    /**
     * 身份证背面照
     */
	@TableField("id_card_back_img")
	private String idCardBackImg;
    /**
     * 身份证有效期开始时间
     */
	@TableField("id_card_start_time")
	private Date idCardStartTime;
    /**
     * 身份证有效期结束时间
     */
	@TableField("id_card_end_time")
	private Date idCardEndTime;
    /**
     * 自拍照
     */
	@TableField("selfie_img")
	private String selfieImg;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 1:删除，0:未删除
     */
	@TableField("is_deleted")
	private Integer isDeleted;
	private Date timestamp;
    /**
     * 用户名
     */
	private String username;
    /**
     * 性别 0:男 ，1女
     */
	private Integer sex;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getStockUserId() {
		return stockUserId;
	}

	public void setStockUserId(Long stockUserId) {
		this.stockUserId = stockUserId;
	}

	public String getBankCardNo() {
		return bankCardNo;
	}

	public void setBankCardNo(String bankCardNo) {
		this.bankCardNo = bankCardNo;
	}

	public String getBankCardUnionNo() {
		return bankCardUnionNo;
	}

	public void setBankCardUnionNo(String bankCardUnionNo) {
		this.bankCardUnionNo = bankCardUnionNo;
	}

	public String getBankCardType() {
		return bankCardType;
	}

	public void setBankCardType(String bankCardType) {
		this.bankCardType = bankCardType;
	}

	public String getBankCardTypeCode() {
		return bankCardTypeCode;
	}

	public void setBankCardTypeCode(String bankCardTypeCode) {
		this.bankCardTypeCode = bankCardTypeCode;
	}

	public String getBankCardOpenBank() {
		return bankCardOpenBank;
	}

	public void setBankCardOpenBank(String bankCardOpenBank) {
		this.bankCardOpenBank = bankCardOpenBank;
	}

	public String getBankCardImg() {
		return bankCardImg;
	}

	public void setBankCardImg(String bankCardImg) {
		this.bankCardImg = bankCardImg;
	}

	public Date getBankCardExpiredTime() {
		return bankCardExpiredTime;
	}

	public void setBankCardExpiredTime(Date bankCardExpiredTime) {
		this.bankCardExpiredTime = bankCardExpiredTime;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIdCardNo() {
		return idCardNo;
	}

	public void setIdCardNo(String idCardNo) {
		this.idCardNo = idCardNo;
	}

	public String getIdCardFrontImg() {
		return idCardFrontImg;
	}

	public void setIdCardFrontImg(String idCardFrontImg) {
		this.idCardFrontImg = idCardFrontImg;
	}

	public String getIdCardBackImg() {
		return idCardBackImg;
	}

	public void setIdCardBackImg(String idCardBackImg) {
		this.idCardBackImg = idCardBackImg;
	}

	public Date getIdCardStartTime() {
		return idCardStartTime;
	}

	public void setIdCardStartTime(Date idCardStartTime) {
		this.idCardStartTime = idCardStartTime;
	}

	public Date getIdCardEndTime() {
		return idCardEndTime;
	}

	public void setIdCardEndTime(Date idCardEndTime) {
		this.idCardEndTime = idCardEndTime;
	}

	public String getSelfieImg() {
		return selfieImg;
	}

	public void setSelfieImg(String selfieImg) {
		this.selfieImg = selfieImg;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Date getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "StockUserInfo{" +
			"id=" + id +
			", stockUserId=" + stockUserId +
			", bankCardNo=" + bankCardNo +
			", bankCardUnionNo=" + bankCardUnionNo +
			", bankCardType=" + bankCardType +
			", bankCardTypeCode=" + bankCardTypeCode +
			", bankCardOpenBank=" + bankCardOpenBank +
			", bankCardImg=" + bankCardImg +
			", bankCardExpiredTime=" + bankCardExpiredTime +
			", province=" + province +
			", city=" + city +
			", county=" + county +
			", address=" + address +
			", idCardNo=" + idCardNo +
			", idCardFrontImg=" + idCardFrontImg +
			", idCardBackImg=" + idCardBackImg +
			", idCardStartTime=" + idCardStartTime +
			", idCardEndTime=" + idCardEndTime +
			", selfieImg=" + selfieImg +
			", createTime=" + createTime +
			", isDeleted=" + isDeleted +
			", timestamp=" + timestamp +
			", username=" + username +
			", sex=" + sex +
			"}";
	}
}
